<?php

namespace App\Models\SystemManagement;

use Illuminate\Database\Eloquent\Model;

class CustomerModel extends Model
{
    protected $table = 'customer_modules';
    protected $primaryKey = 'id';

    protected $fillable = ['customer_id','module_id'];

    protected $hidden = ['updated_at','created_at'];

    function privilege()
    {
        return $this->belongsTo(Privilege::class,'module_id');
    }
}
